package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import com.zzyl.vo.PageNursingVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author zgl
 * @created 2024-07-12 14:27:10
 * @description
 */
@Mapper
public interface ServeManagementMapper {

    Page<PageNursingVO> PageNursing(String name, Integer status);

    int insertNuringProject(NursingProject nursingProject);

    NursingProjectVo selectById(@Param("id") Long id);

    NursingProject selectByName(String name);

    NursingProject selectByPlanId(@Param("id") Long id);

    int updateNuringProject(@Param("np") NursingProject nursingProject);

    void updateNuringProjectStatus(@Param("id") Long id,@Param("status") Integer status);

    void deleteNuringProject(Long id);

    List<NursingProjectVo> SelectNursingProject();

}
